package com.yohann.designPattern.chain;

/**
 * <p>
 * 审批抽象
 * </p>
 *
 * @author Yohann
 * @since 2021/2/13 18:45
 */
public abstract class Approve {
    Approve approve;
    String name;

    public Approve(String name) {
        this.name = name;
    }

    public void setApprove(Approve approve) {
        this.approve = approve;
    }

    public abstract void processRequest(PurchaseRequest request);
}